package com.tanhua.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SoundVo implements Serializable {

    //用于保证1,语音接收不会重复;2,不会接收到自己的语音

    private Integer id;//用户id  需要单独封装

    //userInfo(MySQL)
    private String avatar;//头像
    private String nickname;//昵称
    private String gender;//性别
    private Integer age; //年龄

    //Sound(MongoDB)
    private String soundUrl;//语音地址
    private Integer remainingTimes;//剩余次数
}
